package org.javaboy.demo01;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

@SpringBootApplication
//@ComponentScan(basePackages = "org.javaboy.demo01")
public class Demo01Application {

    public static void main(String[] args) {
//        SpringApplication.run(Demo01Application.class, args);
        SpringApplicationBuilder builder = new SpringApplicationBuilder(Demo01Application.class);
        builder.bannerMode(Banner.Mode.OFF);
        builder.run(args);
    }
}
